Ext.define('passport.tabs.panel.Permission', {
    extend: 'Ext.tab.Panel',
    alias: 'widget.permissionTabPanel',
		id: 'permissionTabPanel',
		bodyBorder: false,
		border:0,
		
		getSysUserTabItem: function() {
			this.tiSysUser = Ext.create('passport.tabs.item.SysUser',{
					
				});
			return this.tiSysUser;
		},
		
		getPermissionTypeTabItem: function() {
			this.tiPermissionType = Ext.create('passport.tabs.item.PermissionType',{
					
				});
			return this.tiPermissionType;
		},
		
		getDomainObjectTabItem: function() {
			this.tiDomainObject = Ext.create('passport.tabs.item.DomainObject',{
					
				});
			return this.tiDomainObject;
		},
		
		getSysMenuTabItem: function() {
			this.tiSysMenu = Ext.create('passport.tabs.item.SysMenu',{
					
				});
			return this.tiSysMenu;
		},
		
		initComponent: function() {
				Ext.apply(this, {
        		items: [
        			this.getSysUserTabItem(),
        			this.getPermissionTypeTabItem(),
        			this.getDomainObjectTabItem(),
        			this.getSysMenuTabItem()
        		]
      	});
		   this.callParent(arguments);
		}
});